package com.youan.serve.controller.swagger;

import com.youan.pangu.security.bean.LoginInfor;
import com.youan.serve.dao.domain.SysArgu;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

/**
* <p>
    *  swagger接口描述文件
    * </p>
*
* @author auto_code
* @since 2020-03-04
*/
@Api(tags = "管理接口")
public interface SysarguControllerSwagger {

    @ApiOperation(value = "新增一个Sysargu实例")
    SysArgu addSysargu(SysArgu sysargu, LoginInfor loginInfor) throws Exception;

    @ApiOperation(value = "修改一个Sysargu实例")
    SysArgu updateSysargu(SysArgu sysargu, LoginInfor loginInfor) throws Exception;

    @ApiOperation(value = "获取所有Sysargu实例")
    List<SysArgu> selectAllSysargu();

    @ApiOperation(value = "根据主键删除一个Sysargu实例")
    void deleteSysarguByArguId(String arguId);

    @ApiOperation(value = "根据主键获取Sysargu实例")
    SysArgu selectSysarguByArguId(String arguId);

    @ApiOperation(value = "根据条件获取Sysargu实例")
    List<SysArgu> getSysArgusByConditions(String arguName) throws Exception;
}

